Follow-up r81604: Prefix new classes with 'mw-' per [[Manual:Coding conventions]]
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 9 Feb 2011 17:06:41 +0000 (17:06 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 9 Feb 2011 17:06:41 +0000 (17:06 +0000)
includes/Skin.php

index cf3f69d..587ac65 100644 (file)
@@ -655,7 +655,7 @@ abstract class Skin extends Linker {
                        // bug 23315: provide a class based on the canonical special page name without subpages
                        list( $canonicalName ) = SpecialPage::resolveAliasWithSubpage( $title->getDBkey() );
                        if ( $canonicalName ) {
-                               $type .= ' ' . Sanitizer::escapeClass( "special-$canonicalName" );
+                               $type .= ' ' . Sanitizer::escapeClass( "mw-special-$canonicalName" );
                        } else {
                                $type .= ' mw-invalidspecialpage';
                        }